package com.ys.entity.storage;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCC_LogisticsChannelDetail", catalog="Id")
public class TccLogisticsChannelDetail extends BaseEntity<TccLogisticsChannelDetail> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="LogInvoiceNo", nameJava="logInvoiceNo", typeDataBase="varchar")
	private String logInvoiceNo;
	@YsField(nameDataBase="Bid", nameJava="bid", typeDataBase="varchar")
	private String bid;
	@YsField(nameDataBase="BidFbaDelivery", nameJava="bidFbaDelivery", typeDataBase="varchar")
	private String bidFbaDelivery;
	@YsField(nameDataBase="LogsticsChannelName", nameJava="logsticsChannelName", typeDataBase="varchar")
	private String logsticsChannelName;
	@YsField(nameDataBase="LogsticsWay", nameJava="logsticsWay", typeDataBase="varchar")
	private String logsticsWay;
	@YsField(nameDataBase="ProviderCode", nameJava="providerCode", typeDataBase="varchar")
	private String providerCode;
	@YsField(nameDataBase="ProviderName", nameJava="providerName", typeDataBase="varchar")
	private String providerName;
	@YsField(nameDataBase="Cck", nameJava="cck", typeDataBase="varchar")
	private String cck;
	@YsField(nameDataBase="Country", nameJava="country", typeDataBase="varchar")
	private String country;
	@YsField(nameDataBase="FreightMethod", nameJava="freightMethod", typeDataBase="tinyint")
	private Integer freightMethod;
	@YsField(nameDataBase="TransportationId", nameJava="transportationId", typeDataBase="bigint")
	private Long transportationId;
	@YsField(nameDataBase="NameLogsticsClearance", nameJava="nameLogsticsClearance", typeDataBase="tinyint")
	private Integer nameLogsticsClearance;
	@YsField(nameDataBase="DivisionalRule", nameJava="divisionalRule", typeDataBase="tinyint")
	private Integer divisionalRule;
	@YsField(nameDataBase="EstimatedDayFrom", nameJava="estimatedDayFrom", typeDataBase="int")
	private Integer estimatedDayFrom;
	@YsField(nameDataBase="EstimatedDayTo", nameJava="estimatedDayTo", typeDataBase="int")
	private Integer estimatedDayTo;
	@YsField(nameDataBase="OvertimeFee", nameJava="overtimeFee", typeDataBase="decimal")
	private BigDecimal overtimeFee;
	@YsField(nameDataBase="CoefficientWeight", nameJava="coefficientWeight", typeDataBase="int")
	private Integer coefficientWeight;
	@YsField(nameDataBase="SinglePassCrane", nameJava="singlePassCrane", typeDataBase="decimal")
	private BigDecimal singlePassCrane;
	@YsField(nameDataBase="WeightCalBySingle", nameJava="weightCalBySingle", typeDataBase="decimal")
	private BigDecimal weightCalBySingle;
	@YsField(nameDataBase="SingleBoxReqAmountMin", nameJava="singleBoxReqAmountMin", typeDataBase="decimal")
	private BigDecimal singleBoxReqAmountMin;
	@YsField(nameDataBase="SingleBoxReqAmountMax", nameJava="singleBoxReqAmountMax", typeDataBase="decimal")
	private BigDecimal singleBoxReqAmountMax;
	@YsField(nameDataBase="ClearanceOpeAmount", nameJava="clearanceOpeAmount", typeDataBase="decimal")
	private BigDecimal clearanceOpeAmount;
	@YsField(nameDataBase="FreeProNameNum", nameJava="freeProNameNum", typeDataBase="int")
	private Integer freeProNameNum;
	@YsField(nameDataBase="MaxProNameNum", nameJava="maxProNameNum", typeDataBase="int")
	private Integer maxProNameNum;
	@YsField(nameDataBase="AdditionalStandardAmount", nameJava="additionalStandardAmount", typeDataBase="decimal")
	private BigDecimal additionalStandardAmount;
	@YsField(nameDataBase="JfStart", nameJava="jfStart", typeDataBase="decimal")
	private BigDecimal jfStart;
	@YsField(nameDataBase="JfEnd", nameJava="jfEnd", typeDataBase="decimal")
	private BigDecimal jfEnd;
	@YsField(nameDataBase="JfFee", nameJava="jfFee", typeDataBase="decimal")
	private BigDecimal jfFee;
	@YsField(nameDataBase="CzCn", nameJava="czCn", typeDataBase="varchar")
	private String czCn;
	@YsField(nameDataBase="CzEn", nameJava="czEn", typeDataBase="varchar")
	private String czEn;
	@YsField(nameDataBase="CzFee", nameJava="czFee", typeDataBase="decimal")
	private BigDecimal czFee;
	@YsField(nameDataBase="PzStart", nameJava="pzStart", typeDataBase="decimal")
	private BigDecimal pzStart;
	@YsField(nameDataBase="PzEnd", nameJava="pzEnd", typeDataBase="decimal")
	private BigDecimal pzEnd;
	@YsField(nameDataBase="PzFee", nameJava="pzFee", typeDataBase="decimal")
	private BigDecimal pzFee;
	@YsField(nameDataBase="WarehouseArea", nameJava="warehouseArea", typeDataBase="varchar")
	private String warehouseArea;
	@YsField(nameDataBase="FirstPostalCode", nameJava="firstPostalCode", typeDataBase="varchar")
	private String firstPostalCode;
	@YsField(nameDataBase="WarehouseCode", nameJava="warehouseCode", typeDataBase="varchar")
	private String warehouseCode;
	@YsField(nameDataBase="AdditionalBilling", nameJava="additionalBilling", typeDataBase="decimal")
	private BigDecimal additionalBilling;
	@YsField(nameDataBase="Baoguan", nameJava="baoguan", typeDataBase="varchar")
	private String baoguan;
	@YsField(nameDataBase="Qingguan", nameJava="qingguan", typeDataBase="varchar")
	private String qingguan;
	@YsField(nameDataBase="Stock", nameJava="stock", typeDataBase="varchar")
	private String stock;
	@YsField(nameDataBase="ValueCode", nameJava="valueCode", typeDataBase="varchar")
	private String valueCode;
	@YsField(nameDataBase="Pol", nameJava="pol", typeDataBase="varchar")
	private String pol;
	@YsField(nameDataBase="Dest", nameJava="dest", typeDataBase="varchar")
	private String dest;
	@YsField(nameDataBase="Expresstype", nameJava="expresstype", typeDataBase="varchar")
	private String expresstype;
	@YsField(nameDataBase="Smatno", nameJava="smatno", typeDataBase="varchar")
	private String smatno;
	@YsField(nameDataBase="Worgno", nameJava="worgno", typeDataBase="varchar")
	private String worgno;
	@YsField(nameDataBase="Deliverymode", nameJava="deliverymode", typeDataBase="varchar")
	private String deliverymode;
	@YsField(nameDataBase="Remark", nameJava="remark", typeDataBase="varchar")
	private String remark;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TccLogisticsChannelDetail setId(Long id) {
		this.id = id;
		return this;
	}
	public String getLogInvoiceNo() {
		return logInvoiceNo;
	}
	public TccLogisticsChannelDetail setLogInvoiceNo(String logInvoiceNo) {
		this.logInvoiceNo = logInvoiceNo;
		return this;
	}
	public String getBid() {
		return bid;
	}
	public TccLogisticsChannelDetail setBid(String bid) {
		this.bid = bid;
		return this;
	}
	public String getBidFbaDelivery() {
		return bidFbaDelivery;
	}
	public TccLogisticsChannelDetail setBidFbaDelivery(String bidFbaDelivery) {
		this.bidFbaDelivery = bidFbaDelivery;
		return this;
	}
	public String getLogsticsChannelName() {
		return logsticsChannelName;
	}
	public TccLogisticsChannelDetail setLogsticsChannelName(String logsticsChannelName) {
		this.logsticsChannelName = logsticsChannelName;
		return this;
	}
	public String getLogsticsWay() {
		return logsticsWay;
	}
	public TccLogisticsChannelDetail setLogsticsWay(String logsticsWay) {
		this.logsticsWay = logsticsWay;
		return this;
	}
	public String getProviderCode() {
		return providerCode;
	}
	public TccLogisticsChannelDetail setProviderCode(String providerCode) {
		this.providerCode = providerCode;
		return this;
	}
	public String getProviderName() {
		return providerName;
	}
	public TccLogisticsChannelDetail setProviderName(String providerName) {
		this.providerName = providerName;
		return this;
	}
	public String getCck() {
		return cck;
	}
	public TccLogisticsChannelDetail setCck(String cck) {
		this.cck = cck;
		return this;
	}
	public String getCountry() {
		return country;
	}
	public TccLogisticsChannelDetail setCountry(String country) {
		this.country = country;
		return this;
	}
	public Integer getFreightMethod() {
		return freightMethod;
	}
	public TccLogisticsChannelDetail setFreightMethod(Integer freightMethod) {
		this.freightMethod = freightMethod;
		return this;
	}
	public Long getTransportationId() {
		return transportationId;
	}
	public TccLogisticsChannelDetail setTransportationId(Long transportationId) {
		this.transportationId = transportationId;
		return this;
	}
	public Integer getNameLogsticsClearance() {
		return nameLogsticsClearance;
	}
	public TccLogisticsChannelDetail setNameLogsticsClearance(Integer nameLogsticsClearance) {
		this.nameLogsticsClearance = nameLogsticsClearance;
		return this;
	}
	public Integer getDivisionalRule() {
		return divisionalRule;
	}
	public TccLogisticsChannelDetail setDivisionalRule(Integer divisionalRule) {
		this.divisionalRule = divisionalRule;
		return this;
	}
	public Integer getEstimatedDayFrom() {
		return estimatedDayFrom;
	}
	public TccLogisticsChannelDetail setEstimatedDayFrom(Integer estimatedDayFrom) {
		this.estimatedDayFrom = estimatedDayFrom;
		return this;
	}
	public Integer getEstimatedDayTo() {
		return estimatedDayTo;
	}
	public TccLogisticsChannelDetail setEstimatedDayTo(Integer estimatedDayTo) {
		this.estimatedDayTo = estimatedDayTo;
		return this;
	}
	public BigDecimal getOvertimeFee() {
		return overtimeFee;
	}
	public TccLogisticsChannelDetail setOvertimeFee(BigDecimal overtimeFee) {
		this.overtimeFee = overtimeFee;
		return this;
	}
	public Integer getCoefficientWeight() {
		return coefficientWeight;
	}
	public TccLogisticsChannelDetail setCoefficientWeight(Integer coefficientWeight) {
		this.coefficientWeight = coefficientWeight;
		return this;
	}
	public BigDecimal getSinglePassCrane() {
		return singlePassCrane;
	}
	public TccLogisticsChannelDetail setSinglePassCrane(BigDecimal singlePassCrane) {
		this.singlePassCrane = singlePassCrane;
		return this;
	}
	public BigDecimal getWeightCalBySingle() {
		return weightCalBySingle;
	}
	public TccLogisticsChannelDetail setWeightCalBySingle(BigDecimal weightCalBySingle) {
		this.weightCalBySingle = weightCalBySingle;
		return this;
	}
	public BigDecimal getSingleBoxReqAmountMin() {
		return singleBoxReqAmountMin;
	}
	public TccLogisticsChannelDetail setSingleBoxReqAmountMin(BigDecimal singleBoxReqAmountMin) {
		this.singleBoxReqAmountMin = singleBoxReqAmountMin;
		return this;
	}
	public BigDecimal getSingleBoxReqAmountMax() {
		return singleBoxReqAmountMax;
	}
	public TccLogisticsChannelDetail setSingleBoxReqAmountMax(BigDecimal singleBoxReqAmountMax) {
		this.singleBoxReqAmountMax = singleBoxReqAmountMax;
		return this;
	}
	public BigDecimal getClearanceOpeAmount() {
		return clearanceOpeAmount;
	}
	public TccLogisticsChannelDetail setClearanceOpeAmount(BigDecimal clearanceOpeAmount) {
		this.clearanceOpeAmount = clearanceOpeAmount;
		return this;
	}
	public Integer getFreeProNameNum() {
		return freeProNameNum;
	}
	public TccLogisticsChannelDetail setFreeProNameNum(Integer freeProNameNum) {
		this.freeProNameNum = freeProNameNum;
		return this;
	}
	public Integer getMaxProNameNum() {
		return maxProNameNum;
	}
	public TccLogisticsChannelDetail setMaxProNameNum(Integer maxProNameNum) {
		this.maxProNameNum = maxProNameNum;
		return this;
	}
	public BigDecimal getAdditionalStandardAmount() {
		return additionalStandardAmount;
	}
	public TccLogisticsChannelDetail setAdditionalStandardAmount(BigDecimal additionalStandardAmount) {
		this.additionalStandardAmount = additionalStandardAmount;
		return this;
	}
	public BigDecimal getJfStart() {
		return jfStart;
	}
	public TccLogisticsChannelDetail setJfStart(BigDecimal jfStart) {
		this.jfStart = jfStart;
		return this;
	}
	public BigDecimal getJfEnd() {
		return jfEnd;
	}
	public TccLogisticsChannelDetail setJfEnd(BigDecimal jfEnd) {
		this.jfEnd = jfEnd;
		return this;
	}
	public BigDecimal getJfFee() {
		return jfFee;
	}
	public TccLogisticsChannelDetail setJfFee(BigDecimal jfFee) {
		this.jfFee = jfFee;
		return this;
	}
	public String getCzCn() {
		return czCn;
	}
	public TccLogisticsChannelDetail setCzCn(String czCn) {
		this.czCn = czCn;
		return this;
	}
	public String getCzEn() {
		return czEn;
	}
	public TccLogisticsChannelDetail setCzEn(String czEn) {
		this.czEn = czEn;
		return this;
	}
	public BigDecimal getCzFee() {
		return czFee;
	}
	public TccLogisticsChannelDetail setCzFee(BigDecimal czFee) {
		this.czFee = czFee;
		return this;
	}
	public BigDecimal getPzStart() {
		return pzStart;
	}
	public TccLogisticsChannelDetail setPzStart(BigDecimal pzStart) {
		this.pzStart = pzStart;
		return this;
	}
	public BigDecimal getPzEnd() {
		return pzEnd;
	}
	public TccLogisticsChannelDetail setPzEnd(BigDecimal pzEnd) {
		this.pzEnd = pzEnd;
		return this;
	}
	public BigDecimal getPzFee() {
		return pzFee;
	}
	public TccLogisticsChannelDetail setPzFee(BigDecimal pzFee) {
		this.pzFee = pzFee;
		return this;
	}
	public String getWarehouseArea() {
		return warehouseArea;
	}
	public TccLogisticsChannelDetail setWarehouseArea(String warehouseArea) {
		this.warehouseArea = warehouseArea;
		return this;
	}
	public String getFirstPostalCode() {
		return firstPostalCode;
	}
	public TccLogisticsChannelDetail setFirstPostalCode(String firstPostalCode) {
		this.firstPostalCode = firstPostalCode;
		return this;
	}
	public String getWarehouseCode() {
		return warehouseCode;
	}
	public TccLogisticsChannelDetail setWarehouseCode(String warehouseCode) {
		this.warehouseCode = warehouseCode;
		return this;
	}
	public BigDecimal getAdditionalBilling() {
		return additionalBilling;
	}
	public TccLogisticsChannelDetail setAdditionalBilling(BigDecimal additionalBilling) {
		this.additionalBilling = additionalBilling;
		return this;
	}
	public String getBaoguan() {
		return baoguan;
	}
	public TccLogisticsChannelDetail setBaoguan(String baoguan) {
		this.baoguan = baoguan;
		return this;
	}
	public String getQingguan() {
		return qingguan;
	}
	public TccLogisticsChannelDetail setQingguan(String qingguan) {
		this.qingguan = qingguan;
		return this;
	}
	public String getStock() {
		return stock;
	}
	public TccLogisticsChannelDetail setStock(String stock) {
		this.stock = stock;
		return this;
	}
	public String getValueCode() {
		return valueCode;
	}
	public TccLogisticsChannelDetail setValueCode(String valueCode) {
		this.valueCode = valueCode;
		return this;
	}
	public String getPol() {
		return pol;
	}
	public TccLogisticsChannelDetail setPol(String pol) {
		this.pol = pol;
		return this;
	}
	public String getDest() {
		return dest;
	}
	public TccLogisticsChannelDetail setDest(String dest) {
		this.dest = dest;
		return this;
	}
	public String getExpresstype() {
		return expresstype;
	}
	public TccLogisticsChannelDetail setExpresstype(String expresstype) {
		this.expresstype = expresstype;
		return this;
	}
	public String getSmatno() {
		return smatno;
	}
	public TccLogisticsChannelDetail setSmatno(String smatno) {
		this.smatno = smatno;
		return this;
	}
	public String getWorgno() {
		return worgno;
	}
	public TccLogisticsChannelDetail setWorgno(String worgno) {
		this.worgno = worgno;
		return this;
	}
	public String getDeliverymode() {
		return deliverymode;
	}
	public TccLogisticsChannelDetail setDeliverymode(String deliverymode) {
		this.deliverymode = deliverymode;
		return this;
	}
	public String getRemark() {
		return remark;
	}
	public TccLogisticsChannelDetail setRemark(String remark) {
		this.remark = remark;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TccLogisticsChannelDetail setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TccLogisticsChannelDetail setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TccLogisticsChannelDetail setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TccLogisticsChannelDetail tccLogisticsChannelDetail(
		String logInvoiceNo,
		String bid,
		String bidFbaDelivery,
		String logsticsChannelName,
		String logsticsWay,
		String providerCode,
		String providerName,
		String cck,
		String country,
		Integer freightMethod,
		Long transportationId,
		Integer nameLogsticsClearance,
		Integer divisionalRule,
		Integer estimatedDayFrom,
		Integer estimatedDayTo,
		BigDecimal overtimeFee,
		Integer coefficientWeight,
		BigDecimal singlePassCrane,
		BigDecimal weightCalBySingle,
		BigDecimal singleBoxReqAmountMin,
		BigDecimal singleBoxReqAmountMax,
		BigDecimal clearanceOpeAmount,
		Integer freeProNameNum,
		Integer maxProNameNum,
		BigDecimal additionalStandardAmount,
		BigDecimal jfStart,
		BigDecimal jfEnd,
		BigDecimal jfFee,
		String czCn,
		String czEn,
		BigDecimal czFee,
		BigDecimal pzStart,
		BigDecimal pzEnd,
		BigDecimal pzFee,
		String warehouseArea,
		String firstPostalCode,
		String warehouseCode,
		BigDecimal additionalBilling,
		String baoguan,
		String qingguan,
		String stock,
		String valueCode,
		String pol,
		String dest,
		String expresstype,
		String smatno,
		String worgno,
		String deliverymode,
		String remark,
		Integer status
			) {
		TccLogisticsChannelDetail entity = new TccLogisticsChannelDetail();
		entity.setLogInvoiceNo(logInvoiceNo);
		entity.setBid(bid);
		entity.setBidFbaDelivery(bidFbaDelivery);
		entity.setLogsticsChannelName(logsticsChannelName);
		entity.setLogsticsWay(logsticsWay);
		entity.setProviderCode(providerCode);
		entity.setProviderName(providerName);
		entity.setCck(cck);
		entity.setCountry(country);
		entity.setFreightMethod(freightMethod);
		entity.setTransportationId(transportationId);
		entity.setNameLogsticsClearance(nameLogsticsClearance);
		entity.setDivisionalRule(divisionalRule);
		entity.setEstimatedDayFrom(estimatedDayFrom);
		entity.setEstimatedDayTo(estimatedDayTo);
		entity.setOvertimeFee(overtimeFee);
		entity.setCoefficientWeight(coefficientWeight);
		entity.setSinglePassCrane(singlePassCrane);
		entity.setWeightCalBySingle(weightCalBySingle);
		entity.setSingleBoxReqAmountMin(singleBoxReqAmountMin);
		entity.setSingleBoxReqAmountMax(singleBoxReqAmountMax);
		entity.setClearanceOpeAmount(clearanceOpeAmount);
		entity.setFreeProNameNum(freeProNameNum);
		entity.setMaxProNameNum(maxProNameNum);
		entity.setAdditionalStandardAmount(additionalStandardAmount);
		entity.setJfStart(jfStart);
		entity.setJfEnd(jfEnd);
		entity.setJfFee(jfFee);
		entity.setCzCn(czCn);
		entity.setCzEn(czEn);
		entity.setCzFee(czFee);
		entity.setPzStart(pzStart);
		entity.setPzEnd(pzEnd);
		entity.setPzFee(pzFee);
		entity.setWarehouseArea(warehouseArea);
		entity.setFirstPostalCode(firstPostalCode);
		entity.setWarehouseCode(warehouseCode);
		entity.setAdditionalBilling(additionalBilling);
		entity.setBaoguan(baoguan);
		entity.setQingguan(qingguan);
		entity.setStock(stock);
		entity.setValueCode(valueCode);
		entity.setPol(pol);
		entity.setDest(dest);
		entity.setExpresstype(expresstype);
		entity.setSmatno(smatno);
		entity.setWorgno(worgno);
		entity.setDeliverymode(deliverymode);
		entity.setRemark(remark);
		entity.setStatus(status);
		return entity;
	}
}